home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / Small Eiffel 0.4.8 / bin / hello_world.e < prev    next >
Text File  |  1997-04-25  |  589b  |  29 lines

  1. -- Part of SmallEiffel -- Read DISCLAIMER file -- Copyright (C) 
  2. -- Dominique COLNET and Suzanne COLLIN -- colnet@loria.fr
  3. --
  4. class HELLO_WORLD
  5. --
  6. -- The "Hi World program" for SmallEiffel :-)   
  7. --   
  8. -- To compile type command : compile hello_world make
  9. -- Run with command : a.out   
  10. --
  11. -- To compile an optimized version type : compile hello_world make -boost -O2
  12. --
  13.  
  14. creation {ANY}
  15.    make
  16.  
  17. feature {ANY}
  18.    
  19.    make is 
  20.       local 
  21.          s: STRING;
  22.       do  
  23.          !!s.make(10);
  24.          Current.io.put_string("Hello World.%N");
  25.       end; -- make
  26.  
  27. end -- class HELLO_WORLD
  28.  
  29.